import request from '@/utils/request'
//导出平台用户
export const userexport = params => request({
  url:'/admin-api/system/user/export',
  params,
  method: 'get'
})

//服务商品
export const servicelist = data => request({
  
  url:'/admin-api/product/service/list',
  method: 'post',
  data
})

//获得支付订单分页
export const payOrderPage = params => request({
  url:'/admin-api/pay/order/page',
  params,
  method: 'get'
})
//获得钱包流水分页
export const walletPage = params => request({
  url:'/admin-api/pay/wallet-transaction/page',
  params,
  method: 'get'
})
//后台 问诊订单搜索分页
export const doctorPage = data => request({
  url:'/admin-api/admin/consultation/order/page',
  data,
  method: 'post'
})
//后台 医生订单详情
export const doctorDetail = params => request({
  url:'/admin-api/admin/consultation/order/detail',
  params,
  method: 'GET'
})
//删除宠物圈动态内容
export const contentDelete = params => request({
  url:'/admin-api/member/content/delete',
  params,
  method: 'delete'
})
//创建优惠劵模板
export const couponAdd = data => request({
  url:'/admin-api/promotion/coupon-template/create',
  data,
  method: 'POST'
})

//更新优惠劵模板
export const couponUpdate = data => request({
  url:'/admin-api/promotion/coupon-template/update',
  data,
  method: 'PUT'
})
//更新优惠劵模板
export const couponGet = params => request({
  url:'/admin-api/promotion/coupon-template/get',
  params,
  method: 'GET'
})